{// 引入标签库 }
<tagLib name="html" />
{// 加载头部公共文件 }
<include file="Public:header" />
<style type="text/css">
    td{height: 31px;}
    td a{display: block;width: auto;height: 30px;line-height: 120%;}
    td a.msg{width: 25px !important;height: 19px !important;line-height: auto;
        display: inline !important;
    }

</style>
<!-- 菜单区域  -->

<script type="text/javascript">
    function foreverdel_member(id){
	var keyValue;
	if (id)
	{
		keyValue = id;
	}else {
		keyValue = getSelectCheckboxValues();
	}
	if (!keyValue)
	{
		alert('请选择删除项！');
		return false;
	}

	if (window.confirm('确实要永久删除选择项吗？'))
	{
		//ThinkAjax.send(URL+"/foreverdelete/","id="+keyValue+'&ajax=1',doDelete);
                location.href = URL+"/foreverdelete/id/"+keyValue;
	}
}
</script>
<!-- 主页面开始 -->
<div id="main" class="main" >
    
<!-- 主体内容  -->
<div class="content" >
    <div class="title">会员列表:
        <volist name="type" id="tp">
            <spann style="margin-left: 5px;"><a href="__URL__/index/type/{$key}">{$tp}</a></span>
        </volist>
    </div>
<!--  功能操作区域  -->
<div class="operate" >
<html:imageBtn name="add" value="新增" click="add()" style="impBtn hMargin fLeft shadow" />
<html:imageBtn name="edit" value="编辑" click="edit()" style="impBtn hMargin fLeft shadow" />
<html:imageBtn name="delete" value="删除" click="foreverdel_member()" style="impBtn hMargin fLeft shadow " />
<!-- 查询区域 -->
<div class="fRig">
<form method='post' action="__URL__">
<div class="fLeft"><span id="key">可按手机，姓名，邮箱，用户名，证件号，单位，座机查询<input type="text" name="keywords" title="高级查询" class="medium" value="<notempty name='_REQUEST.keywords'>{$_REQUEST.keywords}</notempty>" ></span></div>
<html:imageBtn type="submit" name="search" value="查询" style="impBtn hMargin fLeft shadow" />
</div>
<!-- 高级查询区域 -->
<div  id="searchM" class=" none search cBoth" >
</div>
</form>
</div>
<!-- 功能操作区域结束 -->

<!-- 列表显示区域  -->
<div class="list" >
<html:list id="checkList" name="member" style="list" checkbox="true" action="true" datasource="list" show="id:编号,account:用户名:edit,name:姓名,sex|getSex:性别,email:邮箱,mobile:手机,rank|getConfigVal='rank':评级,type|getConfigVal=customer_type:类型,create_time|toDate='Y-m-d H#i#s':注册时间,id|count_checkin_link:入住,id|count_order_link:预订,id|count_msg_link:留言,id|count_contact_link:联系记录,status|getStatus:状态" actionlist="status|showStatus=$member['id']" />
</div>
<!--  分页显示区域 -->
<div class="page">{$page}</div>
<!-- 列表显示区域结束 -->
</div>
<!-- 主体内容结束 -->
</div>
<!-- 主页面结束 -->

